Add mouse pointer support to press and hold
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Wed, 24 Jul 2013 23:48:11 +0000 (19:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Aug 2013 06:45:46 +0000 (08:45 +0200)
commit46302c522bed5a72ccc561b420bdcbd592e514d8
tree39a034c67e53feb5b624e5a80b56fc1128bcd3d0
parent06430f0e67c8aac6ff142ea5711a4a2418e66697
Add mouse pointer support to press and hold

The internal class GtkPressAndHold was so far only
reacting to touch events. But in most cases where
a touch-and-hold or 'long press' pattern is useful,
click-and-hold can also be used.

This patch makes GtkPressAndHold react to mouse
clicks as well.

https://bugzilla.gnome.org/show_bug.cgi?id=704703
gtk/gtkpressandhold.c